[NTG-context] \setfontfeature-problem

2010-10-13 Thread Andreas Harder
Hi all, please have a look at my example: \definefontfeature[default][default][mode=node,onum=yes] \definefontfeature[sc][default][smcp=yes] \def\sc{\groupedcommand{\setfontfeature{sc}}{}} \setupbodyfont[palatino] \starttext \startTEXpage[offset=1ex] {\sc Abc} 0369 \crlf \sc{Abc} 0369

Re: [NTG-context] \setfontfeature-problem

2010-10-13 Thread Michael Murphy
On 13/10/10 12:48, Andreas Harder wrote: Hi all, please have a look at my example: \definefontfeature[default][default][mode=node,onum=yes] \definefontfeature[sc][default][smcp=yes] \def\sc{\groupedcommand{\setfontfeature{sc}}{}} \setupbodyfont[palatino] \starttext \startTEXpage[offset=1ex

Re: [NTG-context] \setfontfeature-problem

2010-10-13 Thread Hans Hagen
On 13-10-2010 12:48, Andreas Harder wrote: It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution? fixed in upcoming beta - Hans Hagen | PRAGMA ADE

Re: [NTG-context] \setfontfeature-problem

2010-10-13 Thread Andreas Harder
Am 13.10.2010 um 14:40 schrieb Hans Hagen: On 13-10-2010 12:48, Andreas Harder wrote: It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution? fixed in upcoming beta Thanks Hans! Andreas

[NTG-context] Interesting Bug with LuaTex, \setfontfeature{oldstyle}, colors and tikz

2008-09-17 Thread holzminister
, cap=round] (-7.65cm,-1mm) -- (7.65cm,-1mm); \stoptikzpicture \stoptext When I compile my document with texexec --lua I get a black line. Adding \setfontfeature{oldstyle} to the preamble causes texexec --lua to break with a failure. Package pgfbase: Error! Unsupported color model `'. Sorry

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Wolfgang Schuster
] \setfontfeature{oldstyle} \starttext 1234567890 \startitemize \item test \stopitemize \stoptext == log: error: ...onTeXt/tex/texmf-local/tex/context/base/font-otf.lua:1890: attempt to index local 'shared' (a nil value) . \dolistitem

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Hans Hagen
,tnum=yes] \setfontfeature{oldstyle} \starttext 1234567890 \startitemize \item test \stopitemize \stoptext == in font=otf.lua, patch ... function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Wolfgang Schuster
\definefontfeature [oldstyle] [mode=node,language=dflt,script=latn,onum=yes,tnum=yes] \setfontfeature{oldstyle} \starttext 1234567890 \startitemize \item test \stopitemize \stoptext == in font=otf.lua, patch ... function

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Hans Hagen
Wolfgang Schuster wrote: you forgot local dynamics, the following works function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared local dynamics = shared.dynamics if shared then hm, you need to to test shared before using it, so

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Idris Samawi Hamid
On Wed, 02 Jan 2008 02:11:22 -0700, Hans Hagen [EMAIL PROTECTED] wrote: in font=otf.lua, patch ... function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared if shared then end end and remake Does this handle the other

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Idris Samawi Hamid
On Wed, 02 Jan 2008 08:14:17 -0700, Taco Hoekwater [EMAIL PROTECTED] wrote: Does this handle the other [off-list] utf-8 bug that generates an error message from font-tfm.lua:591? No. You get that error because the font does not have a non-breaking hyphen, and you can fix it by changing

Re: [NTG-context] bug in \setfontfeature

2008-01-01 Thread luigi scarso
On Jan 2, 2008 4:19 AM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear consortium, check this out: == % engine=luatex \definefontfeature [oldstyle] [mode=node,language=dflt,script=latn,onum=yes,tnum=yes] \setfontfeature{oldstyle